const emailRules = [
  {
    type: 'required',
    message: '电子邮箱地址不能为空'
  },
  {
    type: 'email',
    message: '请输入正确的电子邮箱格式'
  }
]
emailRules.every(rule => {
  console.log(rule)
  return true
})
